package com.ipfsemc.ipfsemc.model;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data

@Api(value = "SpaceHashrate",description = "矿机算力详情")
public class SpaceHashrate {
    @ApiModelProperty(notes = "ID",example = "2")
    private Long id;

    @ApiModelProperty(notes = "算力ID",example = "2")
    private Long hashId;

    @ApiModelProperty(notes = "矿机ID",example = "2")
    private Long spaceId;

    @ApiModelProperty(notes = "获得的算力")
    private BigDecimal getHashrate;

    @ApiModelProperty(notes = "矿机",example = "1")
    private Integer space;


}